<?php


use App\Controller\music\IndexController;
use Hyperf\HttpServer\Router\Router;

Router::addRoute(['GET', 'POST'],'/index',[IndexController::class,'index']);
Router::addGroup('/index',function (){
    Router::addRoute(['GET', 'POST'],'/get_download',[IndexController::class,'getDownloadSongs']);
});